package com.training.oo.date;

import java.util.Date;

public class DateDemo {
	public static void main(String[] args) {
		Date date = new Date();
		System.out.println(date);
		System.out.println(date.getTime());
		
		long s = date.getTime();
		Date date1 = new Date(s);
		System.out.println(date1);
	}
	
}
